//客户管理模块路由
import Layout from "../views/layout/Layout";
export const customerRouter = [
  {
    path: "",
    component: Layout,
    redirect: "/customerEnterpiseIndex",
    name: "customer",
    meta: {
      title: "客户管理",
      icon: "example"
    },
    children: [
      {
        path: "customerEnterpiseIndex",
        name: "customerEnterpiseIndex",
        component: () => import("@/views/customer/campanyCustomer/index"),
        meta: { title: "企业客户", icon: "ums-admin" },
        hidden: false
      },
      {
        path: "createdEnterpiseCustomer",
        name: "createdEnterpiseCustomer",
        component: () => import("@/views/customer/enterpise/createdCustomer"),
        meta: { title: "新增企业客户", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customerPersonIndex",
        name: "customerPersonIndex",
        component: () => import("@/views/customer/person/index"),
        meta: { title: "个人客户", icon: "ums-admin" },
        hidden: false
      },
      
      {
        path: "createdPersonCustomer",
        name: "createdPersonCustomer",
        component: () => import("@/views/customer/person/createdCustomer"),
        meta: { title: "新增个人客户", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customerMatch",
        name: "customerMatch",
        component: () => import("@/views/customer/customerMatch/index"),
        meta: { title: "客户匹配", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customerMatchDetail",
        name: "customerMatchDetail",
        component: () => import("@/views/customer/customerMatch/detail"),
        meta: { title: "匹配详情", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "creditLimitInfor",
        name: "creditLimitInfor",
        component: () =>
          import("@/views/customer/customerMatch/components/creditLimitInfor"),
        meta: { title: "出额度", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "conditionEntry",
        name: "conditionEntry",
        component: () =>
          import("@/views/customer/customerMatch/conditionEntry"),
        meta: { title: "征信录入", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "communication",
        name: "communication",
        component: () =>
          import("@/views/customer/customerMatch/components/communication"),
        meta: { title: "客户方案", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "tagConfig",
        name: "tagConfig",
        component: () => import("@/views/customer/tagConfig/index"),
        meta: { title: "助贷标签配置", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "tagCategory",
        name: "tagCategory",
        component: () => import("@/views/customer/tagConfig/tagCate"),
        meta: { title: "", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customer/communicate",
        name: "communicate",
        component: () => import("@/views/customer/campanyCustomer/communicate"),
        meta: { title: "客服沟通", icon: "ums-admin" },
        hidden: true
      },
      // {
      //   path: "customer/materialLibrary",
      //   name: "materialLibrary",
      //   component: () => import("@/views/customer/materialLibrary/index"),
      //   meta: { title: "素材库", icon: "ums-admin" },
      //   hidden: true
      // },
      {
        path: "customer/customerMessage",
        name: "customerMessage",
        component: () => import("@/views/customer/customerMessgae/index"),
        meta: { title: "客户信息表", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customer/highSeasCustomers",
        name: "highSeasCustomers",
        component: () => import("@/views/customer/highSeasCustomers/index"),
        meta: { title: "公海客户", icon: "ums-admin" },
        hidden: true
      },
      {
        path: "customer/customerData",
        name: "customerData",
        component: () => import("@/views/customer/customerData/index"),
        meta: { title: "客户资料", icon: "ums-admin" },
        hidden: true
      },
      
    ]
  }
];
